Project

General

Profile

Actions

Bug #44889

closed

workunit does not respect suite_branch when it comes to checkout sha1 on remote host

Added by Kyrylo Shatskyy about 4 years ago. Updated 9 months 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

The issue is reproduced when it is used the --suite-branch option and --suite fs:basic_functional.
(teuthology-suite -v
--machine-type ovh
--ceph master
--suite fs:basic_functional
--suite-branch refs/pull/34264/merge
-d centos
--limit 11
--newest 100
--filter-out ubuntu,rhel)

Log example:

2020-03-31T11:38:08.274 INFO:teuthology.run:Config:

archive_path: /home/worker/archive/runner-2020-03-31_11:11:47-smoke-nautilus-distro-basic-ovh/81
branch: nautilus
description: smoke/basic/{clusters/{fixed-3-cephfs.yaml openstack.yaml} objectstore/bluestore-bitmap.yaml
tasks/cfuse_workunit_suites_blogbench.yaml}
email: null
first_in_suite: false
job_id: '81'
kernel:
kdb: true
sha1: distro
last_in_suite: false
log-rotate:
ceph-mds: 10G
ceph-osd: 10G
machine_type: ovh
name: runner-2020-03-31_11:11:47-smoke-nautilus-distro-basic-ovh
nuke-on-error: true
openstack:
- volumes:
count: 2
size: 10
- machine:
cpus: 1
disk: 40
ram: 8000
volumes:
count: 4
size: 10
os_type: centos
overrides:
admin_socket:
branch: nautilus
ceph:
conf:
mgr:
debug mgr: 20
debug ms: 1
mon:
debug mon: 20
debug ms: 1
debug paxos: 20
osd:
bdev async discard: true
bdev enable discard: true
bluestore allocator: bitmap
bluestore block size: 96636764160
bluestore fsck on mount: true
debug bluefs: 20
debug bluestore: 20
debug filestore: 20
debug journal: 20
debug ms: 20
debug osd: 25
debug rocksdb: 10
mon osd backfillfull_ratio: 0.85
mon osd full ratio: 0.9
mon osd nearfull ratio: 0.8
osd failsafe full ratio: 0.95
osd objectstore: bluestore
osd shutdown pgref assert: true
fs: xfs
log-whitelist:
- \(MDS_ALL_DOWN\)
- \(MDS_UP_LESS_THAN_MAX\)
sha1: 62afb915ecd67f352966d3175ac7250633a60134
ceph-deploy:
bluestore: true
conf:
client:
log file: /var/log/ceph/ceph-$name.$pid.log
mon:
osd default pool size: 2
osd:
bdev async discard: true
bdev enable discard: true
bluestore block size: 96636764160
bluestore fsck on mount: true
debug bluefs: 20
debug bluestore: 20
debug rocksdb: 10
mon osd backfillfull_ratio: 0.85
mon osd full ratio: 0.9
mon osd nearfull ratio: 0.8
osd failsafe full ratio: 0.95
osd objectstore: bluestore
fs: xfs
install:
ceph:
sha1: 62afb915ecd67f352966d3175ac7250633a60134
thrashosds:
bdev_inject_crash: 2
bdev_inject_crash_probability: 0.5
workunit:
branch: refs/pull/34171/merge
sha1: a88a277341e7515c183d918be3402ae5880161ba
owner: scheduled_runner@teuth-py3
priority: 1000
repo: https://github.com/ceph/ceph.git
roles:
- - mon.a
- mds.a
- mgr.x
- osd.0
- osd.1
- - mon.b
- mds.b
- mon.c
- mgr.y
- osd.2
- osd.3
- - client.0
sha1: 62afb915ecd67f352966d3175ac7250633a60134
suite: smoke
suite_branch: refs/pull/34171/merge
suite_path: /home/worker/src/github.com_ceph_ceph_PR#34171/qa
suite_relpath: qa
suite_repo: https://github.com/ceph/ceph.git
suite_sha1: a88a277341e7515c183d918be3402ae5880161ba
tasks:
- install: null
- ceph:
fs: xfs
- ceph-fuse: null
- workunit:
clients:
all:
- suites/blogbench.sh
teuthology_branch: master
tube: ovh
verbose: true
worker_log: /home/worker/archive/worker_logs/worker.ovh.15183
.
.
.
2020-03-31T11:53:23.563 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/worker/src/teuthology_master/teuthology/run_tasks.py", line 86, in run_tasks
manager = run_one_task(taskname, ctx=ctx, config=config)
File "/home/worker/src/teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
return task(**kwargs)
File "/home/worker/src/github.com_ceph_ceph_PR#34171/qa/tasks/workunit.py", line 138, in task
cleanup=cleanup)
File "/home/worker/src/github.com_ceph_ceph_PR#34171/qa/tasks/workunit.py", line 288, in _spawn_on_all_clients
timeout=timeout)
File "/home/worker/src/teuthology_master/teuthology/parallel.py", line 87, in exit
for result in self:
File "/home/worker/src/teuthology_master/teuthology/parallel.py", line 101, in next
resurrect_traceback(result)
File "/home/worker/src/teuthology_master/teuthology/parallel.py", line 37, in resurrect_traceback
reraise(*exc_info)
File "/home/worker/src/teuthology_master/virtualenv/lib/python3.6/site-packages/six.py", line 703, in reraise
raise value
File "/home/worker/src/teuthology_master/teuthology/parallel.py", line 24, in capture_traceback
return func(*args, **kwargs)
File "/home/worker/src/github.com_ceph_ceph_PR#34171/qa/tasks/workunit.py", line 335, in _run_tests
args=refspec.clone(git_url, clonedir))
File "/home/worker/src/teuthology_master/teuthology/orchestra/remote.py", line 201, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
File "/home/worker/src/teuthology_master/teuthology/orchestra/run.py", line 473, in run
r.wait()
File "/home/worker/src/teuthology_master/teuthology/orchestra/run.py", line 162, in wait
self._raise_for_status()
File "/home/worker/src/teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on target-py3-035 with status 128: 'rm -rf /home/ubuntu/cephtest/clone.client.0 && git clone https://github.com/ceph/ceph.git /home/ubuntu/cephtest/clone.client.0 && cd /home/ubuntu/cephtest/clone.client.0 && git checkout a88a277341e7515c183d918be3402ae5880161ba'

Also it seems like vim qa/tasks/util/workunit.py does not support `refs/pull/*/*` branches too.

Actions

Also available in: Atom PDF