https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2019-06-04T23:01:23ZCeph Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1379062019-06-04T23:01:23ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/137906/diff?detail_id=138987">diff</a>)</li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1379072019-06-04T23:03:47ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Assignee</strong> set to <i>David Galloway</i></li></ul><p>A new OS+version combo?</p>
<pre>
os_type: rhel
os_version: '7.6'
</pre>
<p>The root cause is:</p>
<pre>
make: g++: Command not found
</pre>
<p>Assigning to David in the hopes he can add the dependency to the RHEL 7.6 image.</p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1379692019-06-05T19:02:34ZDavid Galloway
<ul><li><strong>Category</strong> set to <i>User access</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>4</i></li></ul><p>Is it possible <code>make</code> has a messed up env there? The gcc-c++ package is installed on all RHEL7 testnodes.</p>
<p><a class="external" href="https://github.com/ceph/ceph-cm-ansible/blob/master/roles/testnode/vars/redhat_7.yml#L28">https://github.com/ceph/ceph-cm-ansible/blob/master/roles/testnode/vars/redhat_7.yml#L28</a></p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1379702019-06-05T19:06:18ZDavid Galloway
<ul></ul><p>Yeah.</p>
<pre>
[root@smithi009 ~]# yum whatprovides g++
Loaded plugins: fastestmirror, langpacks, priorities, product-id, search-disabled-repos, subscription-manager
Loading mirror speeds from cached hostfile
* epel: ftp.linux.ncsu.edu
gcc-c++-4.8.2-16.el7.x86_64 : C++ support for GCC
Repo : rhel-7-server-rpms
Matched from:
Filename : /usr/bin/g++
</pre>
<p>Note the PATH in the teuthology log</p>
<pre>
2019-06-03T15:39:13.556 INFO:teuthology.orchestra.run.smithi037:> 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=8b9e8040c5146f783fb9c35d955bb1c3484b9370 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_librados_build.sh
</pre> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1380062019-06-06T07:27:25ZNathan Cutlerncutler@suse.cz
<ul></ul><p>The workunit task sets the path to "PATH=$PATH:/usr/sbin" but I don't see how that would lead to "g++: Command not found" if /usr/bin/g++ exists on the system and is executable? Can you elaborate?</p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1380302019-06-06T13:55:43ZDavid Galloway
<ul></ul><p>Sure, I guess my question is: Did $PATH get munged before the workunit test got ran?</p>
<p>For example, if $PATH is empty, and the task sets the path to <code>PATH=$PATH:/usr/sbin</code>, that would result in <code>PATH = /usr/sbin</code>, right? So <code>/usr/bin/g++</code> wouldn't be found.</p>
<p>Or am I wayyy off base?</p>
<p>Either way, I looked through the teuthology log for that job and gcc-c++ <em>is</em> installed so I'm not sure this is an infra issue.</p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1382312019-06-10T11:03:24ZNathan Cutlerncutler@suse.cz
<ul></ul><p>David Galloway wrote:</p>
<blockquote>
<p>Sure, I guess my question is: Did $PATH get munged before the workunit test got ran?</p>
</blockquote>
<p>If it did, that would hopefully be in the log, and it would also cause problems for any other permutation of this test (not just RHEL 7.6).</p>
<p>Anyway, I'll instrument the test to dump the value of PATH to the log.</p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1383352019-06-11T14:43:54ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>4</i> to <i>In Progress</i></li><li><strong>Assignee</strong> changed from <i>David Galloway</i> to <i>Kefu Chai</i></li></ul><p>moving to Ceph project to get "Pull Request ID" and backports</p> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1383362019-06-11T14:44:42ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Project</strong> changed from <i>sepia</i> to <i>Ceph</i></li><li><strong>Category</strong> deleted (<del><i>User access</i></del>)</li><li><strong>Pull request ID</strong> set to <i>28484</i></li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1383372019-06-11T14:44:56ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Backport</strong> set to <i>luminous mimic nautilus</i></li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1384992019-06-12T11:48:58ZKefu Chaitchaikov@gmail.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Pending Backport</i></li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1386002019-06-13T10:23:45ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/40318">Backport #40318</a>: luminous: "make: *** [hello_world_cpp] Error 127" in rados</i> added</li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1386022019-06-13T10:23:52ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/40319">Backport #40319</a>: nautilus: "make: *** [hello_world_cpp] Error 127" in rados</i> added</li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1386042019-06-13T10:23:59ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Copied to</strong> <i><a class="issue tracker-9 status-3 priority-4 priority-default closed" href="/issues/40320">Backport #40320</a>: mimic: "make: *** [hello_world_cpp] Error 127" in rados</i> added</li></ul> Ceph - Bug #40155: "make: *** [hello_world_cpp] Error 127" in radoshttps://tracker.ceph.com/issues/40155?journal_id=1506032019-11-05T13:17:28ZNathan Cutlerncutler@suse.cz
<ul><li><strong>Status</strong> changed from <i>Pending Backport</i> to <i>Resolved</i></li></ul><p>While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".</p>