Project

General

Profile

Backport #23786

luminous: "utilities/env_librados.cc:175:33: error: unused parameter 'offset' [-Werror=unused-parameter]" in rados

Added by Yuri Weinstein 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Target version:
Release:

Description

This is v12.2.5 QE validation

Run: http://pulpito.ceph.com/yuriw-2018-04-17_20:36:16-rados-luminous-distro-basic-smithi/
(see rerun verify http://pulpito.ceph.com/yuriw-2018-04-18_15:20:52-rados-luminous-distro-basic-smithi/)
Jobs: 2408603
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2018-04-17_20:36:16-rados-luminous-distro-basic-smithi/2408603/teuthology.log

2018-04-18T01:54:37.584 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       utilities/write_batch_with_index/write_batch_with_index_internal.o
2018-04-18T01:54:37.635 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       utilities/env_librados.o
2018-04-18T01:54:38.031 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       tools/ldb_cmd.o
2018-04-18T01:54:38.592 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:175:33: error: unused parameter 'offset' [-Werror=unused-parameter]
2018-04-18T01:54:38.592 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.592 INFO:tasks.workunit.client.0.smithi010.stderr:                                 ^
2018-04-18T01:54:38.592 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:175:48: error: unused parameter 'length' [-Werror=unused-parameter]
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:                                                ^
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:240:27: error: unused parameter 'pattern' [-Werror=unused-parameter]
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:   void Hint(AccessPattern pattern) {
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:                           ^
2018-04-18T01:54:38.593 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:253:33: error: unused parameter 'offset' [-Werror=unused-parameter]
2018-04-18T01:54:38.594 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.594 INFO:tasks.workunit.client.0.smithi010.stderr:                                 ^
2018-04-18T01:54:38.594 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:253:48: error: unused parameter 'length' [-Werror=unused-parameter]
2018-04-18T01:54:38.594 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.594 INFO:tasks.workunit.client.0.smithi010.stderr:                                                ^
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:492:33: error: unused parameter 'offset' [-Werror=unused-parameter]
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:                                 ^
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:492:48: error: unused parameter 'length' [-Werror=unused-parameter]
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:   Status InvalidateCache(size_t offset, size_t length) {
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:                                                ^
2018-04-18T01:54:38.597 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:506:26: error: unused parameter 'offset' [-Werror=unused-parameter]
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:   Status RangeSync(off_t offset, off_t nbytes) {
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:                          ^
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:506:40: error: unused parameter 'nbytes' [-Werror=unused-parameter]
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:   Status RangeSync(off_t offset, off_t nbytes) {
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:                                        ^
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:521:25: error: unused parameter 'offset' [-Werror=unused-parameter]
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:   Status Allocate(off_t offset, off_t len) {
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:                         ^
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:521:39: error: unused parameter 'len' [-Werror=unused-parameter]
2018-04-18T01:54:38.598 INFO:tasks.workunit.client.0.smithi010.stderr:   Status Allocate(off_t offset, off_t len) {
2018-04-18T01:54:38.599 INFO:tasks.workunit.client.0.smithi010.stderr:                                       ^
2018-04-18T01:54:38.622 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:889:21: error: unused parameter 'options' [-Werror=unused-parameter]
2018-04-18T01:54:38.622 INFO:tasks.workunit.client.0.smithi010.stderr:   const EnvOptions& options)
2018-04-18T01:54:38.622 INFO:tasks.workunit.client.0.smithi010.stderr:                     ^
2018-04-18T01:54:38.630 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:932:21: error: unused parameter 'options' [-Werror=unused-parameter]
2018-04-18T01:54:38.630 INFO:tasks.workunit.client.0.smithi010.stderr:   const EnvOptions& options)
2018-04-18T01:54:38.630 INFO:tasks.workunit.client.0.smithi010.stderr:                     ^
2018-04-18T01:54:38.638 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:975:21: error: unused parameter 'options' [-Werror=unused-parameter]
2018-04-18T01:54:38.638 INFO:tasks.workunit.client.0.smithi010.stderr:   const EnvOptions& options)
2018-04-18T01:54:38.638 INFO:tasks.workunit.client.0.smithi010.stderr:                     ^
2018-04-18T01:54:38.641 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:1028:21: error: unused parameter 'options' [-Werror=unused-parameter]
2018-04-18T01:54:38.641 INFO:tasks.workunit.client.0.smithi010.stderr:   const EnvOptions& options)
2018-04-18T01:54:38.642 INFO:tasks.workunit.client.0.smithi010.stderr:                     ^
2018-04-18T01:54:38.645 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:1385:22: error: unused parameter 'src' [-Werror=unused-parameter]
2018-04-18T01:54:38.645 INFO:tasks.workunit.client.0.smithi010.stderr:   const std::string& src,
2018-04-18T01:54:38.645 INFO:tasks.workunit.client.0.smithi010.stderr:                      ^
2018-04-18T01:54:38.646 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:1386:22: error: unused parameter 'target_in' [-Werror=unused-parameter]
2018-04-18T01:54:38.646 INFO:tasks.workunit.client.0.smithi010.stderr:   const std::string& target_in)
2018-04-18T01:54:38.646 INFO:tasks.workunit.client.0.smithi010.stderr:                      ^
2018-04-18T01:54:38.646 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:1470:22: error: unused parameter 'db_path' [-Werror=unused-parameter]
2018-04-18T01:54:38.646 INFO:tasks.workunit.client.0.smithi010.stderr:   const std::string& db_path,
2018-04-18T01:54:38.647 INFO:tasks.workunit.client.0.smithi010.stderr:                      ^
2018-04-18T01:54:38.647 INFO:tasks.workunit.client.0.smithi010.stderr:utilities/env_librados.cc:1471:16: error: unused parameter 'output_path' [-Werror=unused-parameter]
2018-04-18T01:54:38.647 INFO:tasks.workunit.client.0.smithi010.stderr:   std::string* output_path)
2018-04-18T01:54:38.647 INFO:tasks.workunit.client.0.smithi010.stderr:                ^
2018-04-18T01:54:40.197 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       tools/ldb_tool.o
2018-04-18T01:54:40.346 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       tools/sst_dump_tool.o
2018-04-18T01:54:40.754 INFO:tasks.workunit.client.0.smithi010.stdout:  CC       utilities/blob_db/blob_dump_tool.o
2018-04-18T01:54:41.224 INFO:tasks.workunit.client.0.smithi010.stderr:cc1plus: all warnings being treated as errors
2018-04-18T01:54:41.252 INFO:tasks.workunit.client.0.smithi010.stdout:Makefile:1868: recipe for target 'utilities/env_librados.o' failed
2018-04-18T01:54:41.252 INFO:tasks.workunit.client.0.smithi010.stderr:make: *** [utilities/env_librados.o] Error 1
2018-04-18T01:54:41.252 INFO:tasks.workunit.client.0.smithi010.stderr:make: *** Waiting for unfinished jobs....
2018-04-18T01:54:47.869 INFO:tasks.workunit:Stopping ['rados/test_envlibrados_for_rocksdb.sh'] on client.0...
2018-04-18T01:54:47.870 INFO:teuthology.orchestra.run.smithi010:Running: 'rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0'
2018-04-18T01:54:47.990 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 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/github.com_ceph_ceph_luminous/qa/tasks/workunit.py", line 201, in task
    config.get('subdir'), timeout=timeout)
  File "/home/teuthworker/src/github.com_ceph_ceph_luminous/qa/tasks/workunit.py", line 351, in _spawn_on_all_clients
    timeout=timeout)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 85, in __exit__
    for result in self:
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 99, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 22, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/github.com_ceph_ceph_luminous/qa/tasks/workunit.py", line 473, in _run_tests
    label="workunit test {workunit}".format(workunit=workunit)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 423, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 155, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 177, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed (workunit test rados/test_envlibrados_for_rocksdb.sh) on smithi010 with status 2: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=luminous TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/test_envlibrados_for_rocksdb.sh'

History

#1 Updated by Patrick Donnelly 11 months ago

  • Project changed from Ceph to RADOS
  • Target version set to v13.0.0
  • Backport set to luminous

#2 Updated by Sage Weil 11 months ago

  • Subject changed from "utilities/env_librados.cc:175:33: error: unused parameter 'offset' [-Werror=unused-parameter]" in rados to luminous: "utilities/env_librados.cc:175:33: error: unused parameter 'offset' [-Werror=unused-parameter]" in rados

#3 Updated by Sage Weil 11 months ago

  • Status changed from New to Need Review

#4 Updated by Sage Weil 10 months ago

  • Status changed from Need Review to Resolved

#5 Updated by Nathan Cutler 10 months ago

  • Tracker changed from Bug to Backport
  • Target version changed from v13.0.0 to v12.2.6

Also available in: Atom PDF