Project

General

Profile

Actions

Bug #57122

closed

test failure: rados:singleton-nomsgr librados_hello_world

Added by Ronen Friedman over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

e.g. rfriedma-2022-08-13_08:48:40-rados:singleton-nomsgr-wip-rf-like-main-distro-default-smithi/6970569

(the branch is identical to main as of 12.8.22.)
rados:singleton-nomsgr/{all/librados_hello_world mon_election/classic rados supported-random-distro$/{rhel_8}}

Command failed (workunit test rados/test_librados_build.sh) on smithi149 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=fcade97458ec6ead8f4325d51c2647e9cdf92b50 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 CEPH_MNT=/home/ubuntu/cephtest/mnt.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/test_librados_build.sh'

and - maybe the cause:
Makefile:1: *** missing separator. Stop.
in examples/librados/Makefile

Actions #1

Updated by Ronen Friedman over 1 year ago

Possibly related to the move to C++20? the makefile specifies c++11

Actions #2

Updated by Radoslaw Zarzynski over 1 year ago

Huh, this doesn't look like a compiler's failure. It happens earlier:

2022-08-13T09:30:08.725 INFO:tasks.workunit.client.0.smithi149.stderr:+ test -f Makefile
2022-08-13T09:30:08.725 INFO:tasks.workunit.client.0.smithi149.stderr:+ make all-system
2022-08-13T09:30:08.725 INFO:tasks.workunit.client.0.smithi149.stderr:Makefile:1: *** missing separator.  Stop.
Actions #3

Updated by Radoslaw Zarzynski over 1 year ago

What surprised me is we still use GNU Make there.

Actions #4

Updated by Laura Flores over 1 year ago

A couple present in this run:
/a/yuriw-2022-08-15_18:43:38-rados-wip-yuri4-testing-2022-08-15-0951-distro-default-smithi/

Tried recreating this in an ubuntu container. The test pulls all files with curl, such as:

curl --progress-bar --output Makefile 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/Makefile'

The resulting file has a bunch of html formatting rather than the expected Makefile:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<!-- git web interface version 2.25.1, (C) 2005-2006, Kay Sievers <kay.sievers@vrfy.org>, Christian Gierke -->
<!-- git core binaries version 2.25.1 -->
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="generator" content="gitweb/2.25.1 git/2.25.1"/>
<meta name="robots" content="index, nofollow"/>
<title>git.ceph.com Git - ceph.git/blob_plain - examples/librados/Makefile</title>
<link rel="stylesheet" type="text/css" href="static/gitweb.css"/>
<link rel="shortcut icon" href="static/git-favicon.png" type="image/png" />
</head>
<body>
<div class="page_header">
<a href="http://git-scm.com/" title="git homepage"><img alt="git" class="logo" height="27" src="static/git-logo.png" width="72" /></a><a href="/">projects</a> / <a href="/?p=ceph.git;a=summary">ceph.git</a> / blob_plain
</div>
<form method="get" action="/" enctype="multipart/form-data"><div class="search">
<input name="p" type="hidden" value="ceph.git" />
<input name="a" type="hidden" value="search" />
<input name="h" type="hidden" value="master" />
<select name="st" >
<option selected="selected" value="commit">commit</option>
<option value="grep">grep</option>
<option value="author">author</option>
<option value="committer">committer</option>
<option value="pickaxe">pickaxe</option>
</select> <a href="/?p=ceph.git;a=search_help" title="search help">?</a> search:
<input type="text" name="s"  />
<span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span></div>
</form>
<div class="page_body">
<br /><br />
404 - Cannot find file
<br />
</div>
<div class="page_footer">
<div class="page_footer_text">Unnamed repository; edit this file &#39;description&#39; to name the repository.</div>
<a class="rss_logo" href="/?p=ceph.git;a=rss;f=examples/librados/Makefile" title="history of examples/librados/Makefile RSS feed">RSS</a>
<a class="rss_logo" href="/?p=ceph.git;a=atom;f=examples/librados/Makefile" title="history of examples/librados/Makefile Atom feed">Atom</a>
</div>
<script type="text/javascript" src="static/gitweb.js"></script>
<script type="text/javascript">
window.onload = function () {
        var tz_cookie = { name: 'gitweb_tz', expires: 14, path: '/' };
        onloadTZSetup('local', tz_cookie, 'datetime');
};
</script>
</body>
</html>

This is because the file is 404 since "master" has been depreciated.

Actions #5

Updated by Laura Flores over 1 year ago

The fix is just to change any reference from "master" to "main":

- http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/Makefile
+ http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=main;f=examples/librados/Makefile

And this goes for all files referenced:

2022-08-13T09:29:21.146 INFO:tasks.workunit.client.0.smithi163.stderr:+ get_sources
2022-08-13T09:29:21.146 INFO:tasks.workunit.client.0.smithi163.stderr:+ for s in $SOURCES
2022-08-13T09:29:21.147 INFO:tasks.workunit.client.0.smithi163.stderr:+ curl --progress-bar --output hello_radosstriper.cc 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/hello_radosstriper.cc'
2022-08-13T09:29:21.277 INFO:tasks.workunit.client.0.smithi163.stderr:#=#=#
2022-08-13T09:29:21.279 INFO:tasks.workunit.client.0.smithi163.stderr:+ for s in $SOURCES
2022-08-13T09:29:21.279 INFO:tasks.workunit.client.0.smithi163.stderr:+ curl --progress-bar --output hello_world_c.c 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/hello_world_c.c'
2022-08-13T09:29:21.399 INFO:tasks.workunit.client.0.smithi163.stderr:#=#=#
2022-08-13T09:29:21.401 INFO:tasks.workunit.client.0.smithi163.stderr:+ for s in $SOURCES
2022-08-13T09:29:21.401 INFO:tasks.workunit.client.0.smithi163.stderr:+ curl --progress-bar --output hello_world.cc 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/hello_world.cc'
2022-08-13T09:29:21.512 INFO:tasks.workunit.client.0.smithi163.stderr:
2022-08-13T09:29:21.514 INFO:tasks.workunit.client.0.smithi163.stderr:+ for s in $SOURCES
2022-08-13T09:29:21.515 INFO:tasks.workunit.client.0.smithi163.stderr:+ curl --progress-bar --output Makefile 'http://git.ceph.com/?p=ceph.git;a=blob_plain;hb=master;f=examples/librados/Makefile'
Actions #6

Updated by Laura Flores over 1 year ago

  • Status changed from New to Fix Under Review
  • Assignee set to Laura Flores
  • Pull request ID set to 47642
Actions #7

Updated by Nitzan Mordechai over 1 year ago

a/teuthworker/archive/yuriw-2022-08-16_15:48:32-rados-wip-yuri4-testing-2022-08-15-0951-distro-default-smithi/6975387

Actions #8

Updated by Laura Flores over 1 year ago

  • Status changed from Fix Under Review to Resolved
Actions #9

Updated by Ernesto Puerta over 1 year ago

  • Translation missing: en.field_tag_list set to test-failure
Actions

Also available in: Atom PDF