Project

General

Profile

Actions

Bug #64820

open

teuthology/suite/util.py: get_sha1s(): KeyError: 'error'

Added by Kamoltat (Junior) Sirivadhna about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Category:
-
% Done:

0%

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

Description

(virtualenv) root@35236c14a861:/teuthology# teuthology-suite --ceph main --ceph-repo https://github.com/ceph/ceph-ci.git --suite-repo https://github.com/kamoltat/ceph.git --machine-type testnode --suite netsplit --subset 9000/10000 --priority 70 --limit 1 -n 1000 --dry-run
2024-03-08 20:47:42,788.788 INFO:teuthology.suite:Using random seed=8144
2024-03-08 20:47:42,789.789 INFO:teuthology.suite.run:kernel sha1: distro
2024-03-08 20:47:43,195.195 INFO:teuthology.suite.run:ceph sha1: 1fb5d10608dccee73edd6ef8a2c7b804a097c324
2024-03-08 20:47:43,195.195 INFO:teuthology.suite.run:skipping ceph package verification
2024-03-08 20:47:43,513.513 INFO:teuthology.suite.run:ceph branch: main 95a9082685c738e34768db819bdb4b6b3e492aee
2024-03-08 20:47:43,518.518 INFO:teuthology.repo_utils:Cloning https://github.com/kamoltat/ceph.git main from upstream
2024-03-08 20:47:57,079.079 INFO:teuthology.suite.run:self.args.teuthology_branch: 
2024-03-08 20:47:57,079.079 INFO:teuthology.suite.run:None
2024-03-08 20:47:57,079.079 INFO:teuthology.suite.run:os.environ.get('TEUTH_BRANCH', None): 
2024-03-08 20:47:57,079.079 INFO:teuthology.suite.run:wip-ksirivad-teuth-suite-exception
2024-03-08 20:47:57,113.113 INFO:teuthology.suite.run:teuthology branch: wip-ksirivad-teuth-suite-exception 485dab493a504f297c273970200819314da24a3c
2024-03-08 20:47:57,295.295 INFO:teuthology.suite.build_matrix:Subset=9000/10000
2024-03-08 20:47:57,295.295 INFO:teuthology.suite.run:Suite netsplit in /root/src/github.com_kamoltat_ceph_main/qa/suites/netsplit generated 1 jobs (not yet filtered or merged)
2024-03-08 20:47:57,628.628 INFO:teuthology.suite.util:Container build incomplete
2024-03-08 20:47:57,629.629 ERROR:teuthology.suite.run:Packages for os_type 'rhel', flavor default and ceph hash '1fb5d10608dccee73edd6ef8a2c7b804a097c324' not found
Traceback (most recent call last):
  File "/teuthology/virtualenv/bin/teuthology-suite", line 8, in <module>
    sys.exit(main())
  File "/teuthology/scripts/suite.py", line 223, in main
    return teuthology.suite.main(args)
  File "/teuthology/teuthology/suite/__init__.py", line 152, in main
    run.prepare_and_schedule()
  File "/teuthology/teuthology/suite/run.py", line 451, in prepare_and_schedule
    num_jobs = self.schedule_suite()
  File "/teuthology/teuthology/suite/run.py", line 673, in schedule_suite
    sha1s = util.find_git_parents('ceph', str(self.base_config.sha1), self.args.newest)
  File "/teuthology/teuthology/suite/util.py", line 364, in find_git_parents
    sha1s = get_sha1s(project, sha1, count + 1)
  File "/teuthology/teuthology/suite/util.py", line 359, in get_sha1s
    int(count), sha1, project, resp.json()['error'])
KeyError: 'error'
Actions #1

Updated by Kamoltat (Junior) Sirivadhna about 2 months ago

  • Subject changed from /teuthology/teuthology/suite/util.py: get_sha1s(): KeyError: 'error' to teuthology/suite/util.py: get_sha1s(): KeyError: 'error'
Actions

Also available in: Atom PDF