Project

General

Profile

Bug #64901

Updated by Patrick Donnelly about 2 months ago

With the expectation that the second specification of the option should override the first, instead teuthology-suite exits: 

 <pre> 
 (virtualenv) pdonnell@teuthology ~$ teuthology-suite -c main --ceph-repo https://github.com/ceph/ceph.git --suite-repo https://github.com/ceph/ceph.git -s fs --dry-run --limit 1 -S 71e6beb6de9ad34b7d44be0ccdf38721ae92202d -p 100 
 2024-03-13 16:52:21,293.293 INFO:teuthology.suite:Using random seed=8587 
 2024-03-13 16:52:21,294.294 INFO:teuthology.suite.run:kernel sha1: distro 
 2024-03-13 16:52:21,557.557 INFO:teuthology.suite.run:ceph sha1 explicitly supplied 
 2024-03-13 16:52:21,557.557 INFO:teuthology.suite.run:ceph sha1: 71e6beb6de9ad34b7d44be0ccdf38721ae92202d 
 2024-03-13 16:52:22,584.584 INFO:teuthology.suite.run:ceph version: 19.0.0-2023.g71e6beb6 
 2024-03-13 16:52:22,900.900 INFO:teuthology.suite.run:ceph branch: main 6185d084fab59d208d3bfb1fbf5565b52edd85a6 
 2024-03-13 16:52:22,963.963 INFO:teuthology.repo_utils:Fetching github.com_ceph_ceph_main from origin 
 2024-03-13 16:52:29,879.879 INFO:teuthology.suite.run:teuthology branch: main e691533f9cbb33d85b2187bba20d7102f098636d 
 2024-03-13 16:52:45,820.820 INFO:teuthology.suite.run:Suite fs in /cephfs/home/pdonnell/src/github.com_ceph_ceph_main/qa/suites/fs generated 40640 jobs (not yet filtered or merged) 
 2024-03-13 16:53:22,086.086 INFO:teuthology.suite.run:Stopped after 1 jobs due to --limit=1 
 2024-03-13 16:53:22,089.089 INFO:teuthology.suite.run:Scheduling fs/32bits/{begin/{0-install 1-ceph 2-logrotate} clusters/fixed-2-ucephfs conf/{client mds mon osd} distro/{centos_latest} mount/fuse objectstore-ec/bluestore-bitmap overrides/{faked-ino ignorelist_health ignorelist_wrongly_marked_down} tasks/cfuse_workunit_suites_fsstress} 
 2024-03-13 16:53:22,090.090 INFO:teuthology.suite.run:Suite fs in /cephfs/home/pdonnell/src/github.com_ceph_ceph_main/qa/suites/fs scheduled 1 jobs. 
 2024-03-13 16:53:22,090.090 INFO:teuthology.suite.run:40639/40640 jobs were filtered out. 
 2024-03-13 16:53:22,090.090 INFO:teuthology.suite.run:Scheduled 1 jobs in total. 
 2024-03-13 16:53:22,735.735 INFO:teuthology.suite.run:Test results viewable at https://pulpito.ceph.com/pdonnell-2024-03-13_16:52:21-fs-main-distro-default-smithi/ 
 (virtualenv) pdonnell@teuthology ~$ teuthology-suite -c main --ceph-repo https://github.com/ceph/ceph.git --suite-repo https://github.com/ceph/ceph.git -s fs --dry-run --limit 1 -S 71e6beb6de9ad34b7d44be0ccdf38721ae92202d -p 100 -p 101 --dry-run 
 usage: teuthology-suite --help 
        teuthology-suite [-v | -vv ] --suite <suite> [options] [<config_yaml>...] 
        teuthology-suite [-v | -vv ] --rerun <name>    [options] [<config_yaml>...] 
 (virtualenv) pdonnell@teuthology ~$ teuthology-suite -c main -s fs -p 100 --dry-run 
 2024-03-13 16:49:38,022.022 INFO:teuthology.suite:Using random seed=8265 
 2024-03-13 16:49:38,023.023 INFO:teuthology.suite.run:kernel sha1: distro 
 2024-03-13 16:49:38,446.446 INFO:teuthology.suite.run:ceph sha1: 1fb5d10608dccee73edd6ef8a2c7b804a097c324 
 2024-03-13 16:49:38,671.671 INFO:teuthology.suite.util:Container build incomplete 
 Traceback (most recent call last): 
   File "/cephfs/home/pdonnell/teuthology/virtualenv/bin/teuthology-suite", line 8, in <module> 
     sys.exit(main()) 
   File "/cephfs/home/pdonnell/teuthology/scripts/suite.py", line 223, in main 
     return teuthology.suite.main(args) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/__init__.py", line 143, in main 
     run = Run(conf) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 56, in __init__ 
     self.base_config = self.create_initial_config() 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 94, in create_initial_config 
     self.choose_ceph_version(ceph_hash) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 212, in choose_ceph_version 
     util.schedule_fail(msg, self.name, dry_run=self.args.dry_run) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/util.py", line 77, in schedule_fail 
     raise ScheduleFailError(message, name) 
 teuthology.exceptions.ScheduleFailError: Scheduling pdonnell-2024-03-13_16:49:38-fs-main-distro-default-smithi failed: Packages for os_type 'centos', flavor default and ceph hash '1fb5d10608dccee73edd6ef8a2c7b804a097c324' not found 
 </pre>

Back