Skip to content

qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04#34894

Merged
yuriw merged 1 commit intoceph:masterfrom
yuriw:wip-yuriw-distro-master
May 5, 2020
Merged

qa/tests: replaced ubuntu_latest.yaml with ubuntu 20.04#34894
yuriw merged 1 commit intoceph:masterfrom
yuriw:wip-yuriw-distro-master

Conversation

@yuriw
Copy link
Contributor

@yuriw yuriw commented May 4, 2020

... so all tests for pacific will be tested on the latest ubuntu version

Signed-off-by: Yuri Weinstein yweinste@redhat.com

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 review from djgalloway and jdurgin May 4, 2020 16:49
... so all tests for `pacific` will be tested on the latest ubuntu version

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
@yuriw yuriw force-pushed the wip-yuriw-distro-master branch from d281517 to 835f2f5 Compare May 4, 2020 21:05
Copy link
Contributor

@tchaikov tchaikov left a comment

Choose a reason for hiding this comment

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

2020-05-05 12:49:36,277.277 INFO:teuthology.suite.run:Suite rados in /home/kchai/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/suites/rados generated 311 jobs (not yet filtered)
Traceback (most recent call last):
  File "/home/kchai/teuthology/virtualenv/bin/teuthology-suite", line 11, in <module>
    load_entry_point('teuthology', 'console_scripts', 'teuthology-suite')()
  File "/home/kchai/teuthology/scripts/suite.py", line 165, in main
    return teuthology.suite.main(args)
  File "/home/kchai/teuthology/teuthology/suite/__init__.py", line 144, in main
    run.prepare_and_schedule()
  File "/home/kchai/teuthology/teuthology/suite/run.py", line 357, in prepare_and_schedule
    num_jobs = self.schedule_suite()
  File "/home/kchai/teuthology/teuthology/suite/run.py", line 557, in schedule_suite
    self.collect_jobs(arch, configs, self.args.newest, job_limit)
  File "/home/kchai/teuthology/teuthology/suite/run.py", line 438, in collect_jobs
    self.package_versions
  File "/home/kchai/teuthology/teuthology/suite/util.py", line 383, in get_package_versions
    distro_version=os_version,
  File "/home/kchai/teuthology/teuthology/suite/util.py", line 271, in package_version_for_hash
    sha1=hash,
  File "/home/kchai/teuthology/teuthology/packaging.py", line 853, in __init__
    super(ShamanProject, self).__init__(project, job_config, ctx, remote)
  File "/home/kchai/teuthology/teuthology/packaging.py", line 462, in __init__
    self._init_from_config()
  File "/home/kchai/teuthology/teuthology/packaging.py", line 497, in _init_from_config
    OS.version_codename(self.os_type, self.os_version)
  File "/home/kchai/teuthology/teuthology/orchestra/opsys.py", line 197, in version_codename
    (version_or_codename, name))
KeyError: '20.04 not a ubuntu version or codename'

@tchaikov tchaikov dismissed their stale review May 5, 2020 13:42

sorry, i should have use the latest teuthology.

@tchaikov
Copy link
Contributor

tchaikov commented May 5, 2020

@yuriw yuriw merged commit c94dc41 into ceph:master May 5, 2020
@yuriw yuriw deleted the wip-yuriw-distro-master branch May 5, 2020 15:31
@tchaikov
Copy link
Contributor

tchaikov commented May 5, 2020

@yuriw @jdurgin this change breaks the test of tasks.mgr.test_module_selftest.TestModuleSelftest.

2020-05-05T14:57:57.992 INFO:tasks.cephfs_test_runner:test_diskprediction_local (tasks.mgr.test_module_selftest.TestModuleSelftest) ... ERROR
2020-05-05T14:57:57.993 INFO:tasks.cephfs_test_runner:
2020-05-05T14:57:57.993 INFO:tasks.cephfs_test_runner:======================================================================
2020-05-05T14:57:57.993 INFO:tasks.cephfs_test_runner:ERROR: test_diskprediction_local (tasks.mgr.test_module_selftest.TestModuleSelftest)
2020-05-05T14:57:57.994 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-05-05T14:57:57.994 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-05-05T14:57:57.994 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/mgr/test_module_selftest.py", line 53, in test_diskprediction_local
2020-05-05T14:57:57.995 INFO:tasks.cephfs_test_runner:    self._selftest_plugin("diskprediction_local")
2020-05-05T14:57:57.995 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/mgr/test_module_selftest.py", line 36, in _selftest_plugin
2020-05-05T14:57:57.995 INFO:tasks.cephfs_test_runner:    "mgr", "self-test", "module", module_name)
2020-05-05T14:57:57.995 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/ceph_manager.py", line 1363, in raw_cluster_cmd
2020-05-05T14:57:57.996 INFO:tasks.cephfs_test_runner:    stdout=BytesIO(),
2020-05-05T14:57:57.996 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
2020-05-05T14:57:57.996 INFO:tasks.cephfs_test_runner:    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
2020-05-05T14:57:57.996 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
2020-05-05T14:57:57.997 INFO:tasks.cephfs_test_runner:    r.wait()
2020-05-05T14:57:57.997 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
2020-05-05T14:57:57.997 INFO:tasks.cephfs_test_runner:    self._raise_for_status()
2020-05-05T14:57:57.997 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
2020-05-05T14:57:57.998 INFO:tasks.cephfs_test_runner:    node=self.hostname, label=self.label
2020-05-05T14:57:57.998 INFO:tasks.cephfs_test_runner:teuthology.exceptions.CommandFailedError: Command failed on smithi029 with status 22: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph --log-early mgr self-test module diskprediction_local'
2020-05-05T14:54:50.305+0000 7f2eb21bff00 10 mgr[py] ignoring disabled module diskprediction_local
...
2020-05-05T14:57:56.774+0000 7f63fed78700 -1 no module 'diskprediction_local'
2020-05-05T14:57:56.774+0000 7f63fed78700 -1 mgr handle_command module 'selftest' command handler threw exception: Module not found
2020-05-05T14:57:56.774+0000 7f63fed78700 20 mgr ~Gil Destroying new thread state 0x55bcacf80000
2020-05-05T14:57:56.774+0000 7f63fed78700 -1 mgr.server reply reply (22) Invalid argument Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1171, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/selftest/module.py", line 143, in handle_command
    r = self.remote(command['module'], "self_test")
  File "/usr/share/ceph/mgr/mgr_module.py", line 1532, in remote
    return self._ceph_dispatch_remote(module_name, method_name,
ImportError: Module not found

see also https://tracker.ceph.com/issues/45147

@tchaikov
Copy link
Contributor

#35012

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.

3 participants